package com.example.util;

import com.example.service.impl.OrderQsServiceImpl;

public enum ResponseCode {
    /**
     * 响应码
     */
    SUCCESS01("200","请求成功"),
    SUCCESS02("400","注册成功"),
    SUCCESS03("500","登录成功"),
    SUCCESS04("450","预约成功"),
    FAIL01("9999","请求失败"),
    FAIL02("9998","未查询到"),
    FAIL03("9997","用户名为空"),
    FAIL04("9996","密码为空"),
    FAIL05("9995","手机为空"),
    FAIL06("9994","用户已被注册"),
    FAIL07("9993","注册失败"),
    FAIL08("9992","用户名密码错误");
    public OrderQsServiceImpl orderQsDao;
    private String code;
    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    ResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ResponseCode() {
    }
}
